package com.ming.myqqsliadingmenu;

import android.app.Activity;
import android.os.Bundle;
import android.view.View;
import android.view.Window;
import android.view.WindowManager;


public class MainActivity extends Activity {
    private MyQQSlidingMenu myQQSlidingMenu;

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        requestWindowFeature(Window.FEATURE_NO_TITLE);
        getWindow().setFlags(WindowManager.LayoutParams.FLAG_FULLSCREEN, WindowManager.LayoutParams.FLAG_FULLSCREEN);
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_main);

        myQQSlidingMenu = (MyQQSlidingMenu) findViewById(R.id.MyQQSlidingMenu);
    }

    public void toggleMenu(View view){
        myQQSlidingMenu.toggleMenu();
    }

}
